package cn.edu.ren.service;

import cn.edu.ren.pojo.Person;

import java.util.List;

/**
 * @PackageName: cn.edu.ren.service.imp
 * @ClassName: IPersonService
 * @Description:
 * @author: RZS
 * @date: 2021/5/19  21:53
 */
public interface IPersonService {
    List<Person> findAll();
    Person findById(Integer id);
    void add(Person person);
    void changeUsernameById(String username, Integer id);
    void removeById(Integer id);
}
